package com.ctvit.cch.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 热点分类收藏表对象 insp_hot_category_favorite
 *
 * @author heyingcheng
 * @date 2025/11/07
 */
@Getter
@Setter
@ToString
@TableName("insp_hot_category_favorite")
public class HotCategoryFavorite {

    /**
     * 收藏ID
     */
    @TableId(value = "favorite_id", type = IdType.AUTO)
    private Long favoriteId;

    /**
     * 分类ID
     */
    @TableField("category_id")
    private Long categoryId;

    /**
     * 收藏人ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 收藏时间
     */
    @TableField("favorite_time")
    private LocalDateTime favoriteTime;

}